import axios from './axios'


const requests = {
  /**
   * 初始化数据，商店列表
   */
  getCommodityTypeList(data = {}){
    return axios('/commodityType/getCommodityTypeList',{
      method: "post",
      data:data
    })
  },

  commodityList(data = {}){
    return axios('/commodity/commodityList',{
      method: "post",
      data:data
    })
  },
  insertOrder(data = {}){
    return axios('/order/insertOrder',{
      method: "post",
      data:data
    })
  },
  orderList(data = {}){
    return axios('/order/orderList',{
      method: "post",
      data:data
    })
  },
  orderDescList(data = {}){
    return axios('/order/orderDescList',{
      method: "post",
      data:data
    })
  },
  getRegion(data = {}){
    return axios('/region/getRegion',{
      method: "post",
      data:data
    })
  },
  updateOrderStatus(data = {}){
    return axios('/order/updateOrderStatus',{
      method: "post",
      data:data
    })
  },
  tabNum(data = {}){
    return axios('/order/tabNum',{
      method: "post",
      data:data
    })
  },
  orderGroupList(data = {}){
    return axios('/order/orderGroupList',{
      method: "post",
      data:data
    })
  },
  getOrderIds(data = {}){
    return axios('/order/getOrderIds',{
      method: "post",
      data:data
    })
  },
  getPhoneAddress(data = {}){
    return axios('/order/getPhoneAddress',{
      method: "post",
      data:data
    })
  },
  proposal(data = {}){
    return axios('/region/proposal',{
      method: "post",
      data:data
    })
  }
}






export default requests
